/* 封装本地存储的方法 */
function set(k, v) {
  window.localStorage.setItem(k, v)
}
function get(k) {
  return window.localStorage.getItem(k)
}

function cle() {
  window.localStorage.clear()
}
function ref(val) {
  window.localStorage.removeItem(val)
}
export default {
  set,
  get,
  cle,
  ref
}
